package com.chuangjiangx.member.basic.ddd.application.command;

import com.chuangjiangx.dddbase.application.Command;
import lombok.Getter;
import lombok.ToString;

import java.util.Date;

@Getter
@ToString
public class RegisterMemberCommand implements Command {

    /**
     * 会员姓名
     */
    private String name;

    /**
     * 会员性别
     */
    private Byte sex;

    /**
     * 会员手机号
     */
    private String mobile;
    /**
     * 会员用户头像
     *
     */
    private String headimgurl;

    /**
     * 会员生日
     */
    private Date birthday;

    /**
     * 所属商户id
     */
    private Long merchantId;

    /**
     * 注册的门店id
     */
    private Long storeId;

    /**
     * 注册的服务员id
     */
    private Long storeUserId;

    /**
     * 注册的终端类型
     */
    private Byte terminalType;

    /**
     * 注册的终端标识
     */
    private String terminalNum;

    /**
     * 商户注册用户id
     */
    private Long merchantUserId;

    private String openid;
    private String mopenid;
    private String aopenId;

    public RegisterMemberCommand(String name, Byte sex, String mobile, String headimgurl,Date birthday,
                                 Long merchantId, Long storeId, Long storeUserId,
                                 Byte terminalType, String terminalNum, Long merchantUserId,
                                 String openid,String mopenid, String aopenId) {
        this.name = name;
        this.sex = sex;
        this.mobile = mobile;
        this.headimgurl = headimgurl;
        this.birthday = birthday;
        this.merchantId = merchantId;
        this.storeId = storeId;
        this.storeUserId = storeUserId;
        this.terminalType = terminalType;
        this.terminalNum = terminalNum;
        this.merchantUserId = merchantUserId;
        this.openid = openid;
        this.mopenid = mopenid;
        this.aopenId = aopenId;
    }
}
